import QtQuick 2.15
import QtQuick.Controls 2.15

Rectangle {
    id: id_page
    width: 1920
    height: 720

    color: "red"

    signal sigSwitchPage(string page)

    Button {
        text: "Go to Next Page"
        onClicked: {
            console.log("click")
            id_page.sigSwitchPage("qrc:/SecondPage.qml")
        }
    }
}
